package com.example.course.service;

import com.example.course.dto.admin.AdminCourseRemoveDto;
import com.example.course.dto.admin.AdminCourseSaveDto;
import com.example.course.dto.admin.AdminCourseUpdateDto;
import com.example.course.dto.admin.AdminCourseUpdateGetDto;
import com.example.course.dto.user.UserCourseListDto;
import com.example.course.pojo.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.course.utils.common.result.Result;

/**
* @author 24354
* @description 针对表【course】的数据库操作Service
* @createDate 2024-03-15 15:14:20
*/
public interface CourseService extends IService<Course> {

    Result getUserCourseList(Integer week,Long semesterId);
    Result getAdminCourseList(UserCourseListDto dto);

    Result saveCourse(AdminCourseSaveDto dto);

    Result removeCourse(AdminCourseRemoveDto dto);

    Result updateGetCourse(AdminCourseUpdateGetDto dto);

    Result updateCourse(AdminCourseUpdateDto dto);
}
